package com.xwj.jdk8.lambda.pojo;

import lombok.Data;

/**
 * @ClassName Person
 * @Description
 * @Author wxf
 * @Date 2022/5/12 16:02
 * @Version 1.0
 */
@Data
public class Person {

    private String code;
    private String name;
    private Integer age;
    private String address;

    public Person() {
    }

    public Person(String code) {
        this.code = code;
    }

    public Person(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public Person(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public Person(String code, String name, String address) {
        this.code = code;
        this.name = name;
        this.address = address;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
